#region Copyright Vanderlande Industries B.V. 2009-2012
//
// Copyright (c) 2009-2012 Vanderlande Industries.
// All rights reserved.
//
// @file:     FscStrings.cs
// @version:  %version: 20 %
// %date_created: dinsdag 31 juli 2012 15:49:54 %
//
// The copyright to the computer program(s) herein is the property of
// Vanderlande Industries. The program(s) may be used and/or copied
// only with the written permission of the owner or in accordance with
// the terms and conditions stipulated in the contract under which the
// program(s) have been supplied.
//
#endregion

namespace VI.Fsc.OperatorGui.Models.Application.Util
{
    public class CFscStrings
    {
        public const string RSDETAILS_STRING = "RsDetails";
        public const string RSTATE_STRING = "RState";
        public const string MARKCODE_STRING = "Markcode";
        public const string MARKCODE_TRANSPORT_AREA = "TRA";
        public const string INFO_STRING = "Info";
        public const string MODE_STRING_WITH_SLASH = "/Mode";
        public const string MODE_STRING_WITHOUT_SLASH = "Mode";
        public const string FSC_STARTUPPATH = "Connections/OPC/StartupPath";
        public const string MARKCODE_CARRIER_STRING = "CRR";
        public const string MARKCODE_SCN_STRING = "SCN";
        public const string MARKCODE_LCN_STRING = "LCN";
        public const string MARKCODE_LPN_STRING = "LPN";
        public const string MARKCODE_LDC_STRING = "LDC";
        public const string MARKCODE_MAINTENANCEOBJECT_STRING = "MAO";
        public const string MARKCODE_ENVIRONMENT_STRING = "ENV";

        public const string COMMAND_SETMODE = "/Commands/SetMode";

        public const string PROBLEM_KEY = "Dynamic|OpcMessage.eventId{%PROBLEM_KEY%}.problem";
        public const string SOLUTION_KEY = "Dynamic|OpcMessage.eventId{%SOLUTION_KEY%}.solution";

        public const string COMPONENT_INDICATORS_STRING = "/ComponentIndicators";
        public const string SETTINGS_STRING = "/Settings";
        public const string SETTINGS_REQUESTOFF = "Settings/RequestOff";

        public const string INNTEGRATIONLEVEL_STRING = "IntegrationLevel";
        public const string INTEGRATIONLEVEL_AREA = "area";
        public const string INTEGRATIONLEVEL_ZONE = "zone";
        public const string INTEGRATIONLEVEL_SECTION = "section";

        public const string FUNCTIONVARIANT_STRING = "FunctionVariant";

        /// <summary>
        /// The maximum ID used for markcode 'General'
        /// currently used in the problem solution database (see ID value) 
        /// </summary>
        public const int MAX_ID_FOR_MARKCODE_GENERAL = 1;

        /// <summary>
        /// The minimum ID used for markcode 'Mode'
        /// currently used in the problem solution database (see ID value) 
        /// </summary>
        public const int MIN_ID_FOR_MARKCODE_MODE = 1 << 26;

        /// <summary>
        /// Defined by our friends from SCADA !
        /// </summary>
        public const int MAX_NR_BITS_USED_FOR_ERROR = 30;
        
        /// <summary>
        /// Markcode in problem solution database !
        /// </summary>
        public const string GENERAL_ERROR_PREFIX = "General";

        public const string STATUS_ERROR = "ERROR";
        public const string STATUS_WARNING = "WARNING";
        public const string STATUS_STANDBY = "STANDBY";
        public const string STATUS_OFFLINE = "OFFLINE";
        public const string STATUS_MANUALOFFLINE = "MANUALOFFLINE";
        public const string STATUS_STOP = "STOP";
        public const string STATUS_OPERATIONAL = "OPERATIONAL";
        public const string STATUS_RESETHOME = "RESETHOME";        
    }
}
